<ion-view class="measure-view" view-title="卷制测量">
    <ion-header-bar class="bar-subheader">
        <im-card-header card-title="单品信息"></im-card-header>
        <div class="im-flow-container">
            <im-master-item class="im-flow-item" master-name="单号" master-value="{{barcode.MOCode}}">
            </im-master-item>
            <im-master-item class="im-flow-item" master-name="型号" master-value="{{barcode.ItemMasterCode}}">
            </im-master-item>
            <im-master-item class="im-flow-item" master-name="作业" master-value="{{barcode.WorkName}}">
            </im-master-item>
            <im-master-item class="im-flow-item" master-name="料号" master-value="{{barcode.ItemMasterCode}}">
            </im-master-item>
            <im-master-item class="im-flow-item" master-name="批次" master-value="{{barcode.MOLotNumber}}">
            </im-master-item>
            <im-master-item class="im-flow-item" master-name="名称" master-value="{{barcode.WorkName}}">
            </im-master-item>
        </div>
        <im-card-header card-title="测量信息"></im-card-header>
    </ion-header-bar>
    <ion-content>
        <div class="im-flow-container">
            <div class="cycleAndWeight" ng-repeat="qc in qcStandard track by $index">
                <img ng-if="qc.QCNormName=='周径'" ng-src="{{imgPath.cycle}}">
                <img ng-if="qc.QCNormName=='重量'" ng-src="{{imgPath.weight}}">
                <label class="item item-input">
                    <input type="number" ng-model="qc.NormValue"
                           ng-class="{assertive:qc.NormValue>qc.ValueUpperLimit||qc.NormValue<qc.ValueLowerLimit}">
                    <span ng-if="qc.QCNormName=='周径'">MM</span>
                    <span ng-if="qc.QCNormName=='重量'">G</span>
                </label>
                <p>标准:{{qc.StandardValue}}</p>
            </div>
        </div>
    </ion-content>
    <ion-footer-bar>
        <im-pull-right>
            <button class="button button-accept">确认</button>
        </im-pull-right>
    </ion-footer-bar>
</ion-view>